using System;
using Ninject;
using ODSearchEngine;

namespace ODSWebService
{
	public static class IocManager
	{
		private static readonly IKernel iocKernel = null;
		
		static IocManager()
		{
			iocKernel = new StandardKernel(new SearchEngineModule());
		}
		
		public static T Get<T>()
		{
			return iocKernel.Get<T>();
		}
	}
}

